<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>公司详情</title>
    <link rel="stylesheet" href="/dev/plugins/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/dev/plugins/layui/layui/css/layui.css">
    <link rel="stylesheet" href="/dev/assets/css/job/page/jobdetails.css">
    <link rel="icon" href="/dev/assets/img/geek-job/wanli.jpg" type="image/x-icon">
    <script>
        e();
        function e () {
            // 在这里执行条件检查
            let token = localStorage.getItem("token")
            if (token==null) {
                // 执行页面跳转
                window.location.href = '/dev/views/job/page/login.html';
            }
        }
    </script>
</head>
<body class="job-body">
<!-- 导航栏 -->
<!-- <div id="navzt"></div> -->
<!-- 主界面 -->
<div id="nav"></div>

<!--主的div-->
<!--<div id="nav"></div>-->

<!--主的div-->
<!-- 导航栏 -->
<!-- <div id="navzt"></div> -->
<!-- 主界面 -->
<div id="main">
    <!-- 头头 -->
    <div class="company-banner">
        <div class="inner home-inner">
            <div>
                <div class="company-stat">
                <span>
                    <a href="#">
                        <b id="postNum">90</b>
                        在招职位
                    </a>
                </span>
                    <span>
                    <b>12</b>
                    位Boss
                </span>
                    <!--上传附件简历-->
                    <div class="op">
                        <a href="#" class="fl icon-resume-login" ka="job_online_resume_0">
                            <li class="icon"></li>
                            "填写在线简历"
                        </a>
                        <a href="#" class="fr icon-upload-login" ka="job_attach_resume_0">
                            <li class="icon"></li>
                            "上传附件简历"
                        </a>
                    </div>
                </div>

                <!--装江苏的div-->
                <div class="info-primary" id="info-primary">
                    <img src="/dev/assets/img/gg.jpg" class="f1">
                    <div class="info">
                        <h1 class="name" id="company-name">
                            江苏欧博
                            <i class="icon-brand"></i>
                        </h1>

                        <p>
                            A轮
                            <em class="dolt"></em>
                            <a href="#" id="employees" class="abc"></a>
                            <em class="dolt"></em>
                            <a href="#" id="companyTypes" class="industry-link">电子商务</a>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="company-tab">
        <a href="#" class="cur" id="btn-a">公司简介</a>
        <a href="javascript:;" class="car" onclick="companyde();" id="btn-b">招聘职位(<span id="pNum">90</span>)</a>
        <a href="javascript:;" class="" id="btn-d" onclick="CD();" style="margin-left: 20px">工作感受</a>
    </div>

    <!--下方div-->
    <!--热招职位-->

    <div id="company-a" style="display: block">
        <div class="company-hotjob">
            <div class="inner home-inner">
                <h3>
                    <a href="javascript:more();" class="more">查看全部职位</a>
                    热招职位
                </h3>
                <ul class="J-box">
                    <!--接着li标签-->
                    <li class="">


                    </li>

                    <!--接着li标签-->
                </ul>
            </div>
            <div style="clear: both;"></div>
        </div>


        <!-- 下方职位描述等等 -->
        <div class="job-box">
            <div class="inner home-inner">
                <div class="job-sider">
                    <!-- 此处写左边登录和工资计算器等等代码 -->

<!--                    <div class="salary-calculate-entry">-->
<!--                        <a class="title" href="/wage/"></a>-->
<!--                        <div class="salary-calculate-input"><input type="text" name="salary" placeholder="请输入税前月工资" /></div>-->
<!--                        <a href="javascript:;" class="salary-calculate-btn" ka="salary_calculate_btn_click">计算</a>-->
<!--                    </div>-->

                    <!-- 相似职位 -->
                    <!-- 相似职位 -->
                    <div class="job-wrapper">
                        <h3>相似职位
                            <a href="#" rel="nofollow" target="_blank">更多相似职位</a>
                        </h3>
                        <ul class="similar-job-list" >
                            <li>
                                <a href="#" >
                                    <div class="similar-job-info">
                                        <span class="similar-job-name" id="posNames">java工程师</span>
                                        <span class="similar-job-salary" id="pays">12-20K</span>
                                    </div>
                                    <p class="similar-job-attr">
                                        <span class="similar-job-company">
                                            <span class="job-company-logo" id="job-company-logo" >
                                                <img src="/dev/assets/img/h7.jpg">
                                            </span>
                                            <span class="similar-job-name" id="companyName1">高贤甫</span>
                                        </span>
                                        <span class="similar-job-location" id="workPlaces">苏州</span>
                                    </p>
                                </a>
                                <a href="#" class="job_pk">职位对比</a>
                            </li>

                            <li></li>
                            <li></li>
                            <li></li>
                            <li></li>
                        </ul>
                        <a href="/dev/views/geek-job/geek-job-city.html" class="look-all" ka="more-similar-jobs1">查看全部职位</a>
                    </div>


                </div>

                <div class="job-detail">
                    <div class="job-section">
                        <div class="detail-header">
                            <h3>公司描述</h3>
                        </div>
                        <div class="detail-section-operate">
                            <div class="op-links">
                                <a ka="job_detail_wechat_share" href="javascript" class="link-wechat-share">微信扫码分享</a>
                                <a ka="job_detail_report" href="#" class="link-report">举报</a>
                            </div>
                        </div>

                        <ul class="job-list">
                            <li>Java</li>
                            <li>Python</li>
                            <li>MySql</li>
                            <li>SpringBoot</li>
                            <li>a</li>
                            <li>a</li>
                            <li>a</li>
                        </ul>
                        <div class="job-text" id="companyIntro"  style="overflow: hidden" >
                            岗位职责：<br/>1 负责公司信息管理系统，电商站点的开发与维护工作，主要使用Java，Laravel进行功能开发；<br/>
                            2 对相关模块的开发质量负责，并持续优化保持系统的稳定性；<br/>
                            3 能够针对需求设计可行的技术实现方案；<br/>
                            任职要求：<br/>1  大专或者以上学历，4年以上工作经验；
                            <br/>2 熟悉PHP，Java或者Python等主流开发语言；<br/>
                            3 熟悉PHP或者Java主流框架，包括但不限于Laravel，Spring全家桶；<br/>
                            4 有良好的编码规范以及团队协作精神，熟悉前后端协作；<br/>
                            5 有良好的文档习惯，有一定的技术设计能力，可以针对需求设计可行的技术方案；<br/>
                            6 有电商，企业信息系统相关经验者优先；<br/>
                            7 有带小团队经验者优先；<br/>
                            8 有良好的学习能力，全栈优先；

                        </div>
                        <a  href="javascript:o();"  class="look-alls" style="margin-left: 760px" >
                            查看全部
                        </a>

                        <div class="job-info">
                            <div class="PictureMain" id="jravatar">
                                <img src="/dev/assets/img/gg.jpg"  alt="">

                            </div>
                            <h2 class="name" id="jrName">高贤甫
<!--                                <li class="icon-vip"></li>-->
<!--                                <span class="active">刚刚活跃</span>-->
                            </h2>
                            <div class="Jianjie"><li id="jrPlace">苏州驰星</li>
                                <em class="vdot">.<i id="jrType">全栈工程师</i></em>

                            </div>
                        </div>
                    </div>

                    <!-- 竞争力分析 -->



                    <!-- 安全提示 -->

                    <!--    公司介绍-->
                    <div class="job-company">
<!--                        <div class="company-box">-->
<!--                            <h3>公司介绍</h3>-->
<!--                            <div class="company-text" style="overflow: hidden" id="cm-text">-->
<!--                                这是一位正经摸鱼人开办的公司<br>-->
<!--                                HTML的英文全称是 Hyper Text Markup Language，即超文本标记语言。HTML是由Web的发明者 Tim Berners-Lee和同事 Daniel W.  <br>-->
<!--                                Connolly于1990年创立的一种标记语言，它是标准通用化标记语言SGML的应用。用HTML编写的超文本文档称为HTML文档，它能独立于各种操<br>-->
<!--                                作系统平台(如UNIX， Windows等)。使用HTML，将所需要表达的信息按某种规则写成HTML文件，通过专用的浏览器来识别，并将这些HTML<br>-->
<!--                                文件“翻译”成可以识别的信息，即我们所见到的网页。 [2]<br>-->
<!--                                自1990年以来，HTML就一直被用作万维网的信息表示语言，使用HTML描述的文件需要通过web浏览器显示出效果。HTML是一种建立网页文件的<br>-->
<!--                                语言，通过标记式的指令(Tag)，将文字，图形、动画、声音、表格、链接、影像等内容显示出来。事实上，每一个HTML文档都是一种静态的网<br>-->
<!--                                页文件，这个文件里面包含了HTML指令代码，这些指令代码并不是一种程序语言，只是一种排版网页中资料显示位置的标记结构语言，易学易懂，<br>-->
<!--                                非常简单。HTML的普遍应用就是带来了超文本的技术―通过单击鼠标从一个主题跳转到另一个主题，从一个页面跳转到另一个页面，与世界各地主机<br>-->
<!--                                的文件链接超文本传输协议规定了浏览器在运行HTML文档时所遵循的规则和进行的操作。HTTP的制定使浏览器在运行超文本时有了统一的规则和标准。-->
<!--                            </div>-->
<!--                            <a ka="job-comintroduce" href="javascript:o();"  class="look-alls" >-->
<!--                                查看全部-->
<!--                            </a>-->
<!--                        </div>-->

                        <div class="job-business">
                            <h3>工商信息</h3>
                            <div class="level-list-box" >
                                <ul class="level-list" id="appear" style="display: block;">
                                    <li class="company-name" ><span >公司名称</span><h5 id="companyName">职途万里</h5></li>
                                    <li class="company-user"><span>法定代表人</span><h5 id="legalPerson">高贤甫</h5></li>
                                    <li class="res-time"><span>成立日期</span><h5 id="SetUpTime"></h5></li>
                                    <li class="company-type"><span>企业类型</span><h5 id="companyType"></h5></li>
                                    <li class="manage-state"><span>经营状态</span><h5 id="runState">存续</h5></li>
                                    <li class="company-fund"><span>注册资金</span>10000万人民币</li>
                                    <li class="company-locations"><span>注册地址</span><h5 id="registerLocation">柳州市</h5></li>
                                    <li class="manage-time"><span>营业期限</span><h5 id="runBengin">2013.06至-</h5></li>
                                    <li class="company-area"><span>所属地区</span><h5 id="area">广西省</h5></li>
                                    <li class="company-Cid"><span>统一社会信用码</span><h5 id="unifyCode">15044code</h5></li>
                                    <li class="company-Ctime" style="width: 210px"><span>核准日期</span><h5 id="checkTime" >2012.05</h5></li>
                                    <li class="company-bilyName" style="width: 490px;"><span>曾用名</span><h5 id="formerName" >高贤甫</h5></li>
                                    <li class="company-auth" ><span>登记机关</span><h5 id="registrationAuthority" >广西省公安局</h5></li>
                                    <li class="company-scope" style="width: auto; display: block"><span>经营范围</span><h5 id="businessScope">广西省啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</h5></li>

                                </ul>
                                <a ka="job-cominfo" href="javascript:e()"  class="look-all-appear" >查看全部</a>

                            </div>
                        </div>


                        <div class="company-adress">
                            <h>公司地址</h>
                            <div class="job-location">
                                <div class="location-adress">苏州驰星</div>
                                <div class="job-location-map" data-content="" data-adress="">
                                    <img src="https://img.bosszhipin.com/beijin/amap/staticMap/e40f1d46d36304a363be2c1919f8533e" alt="公司地址">
                                    <p>点击查看地图</p>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>




        </div>
    </div>

    <div id="company-b" style="display: none">
        <div class="search-condition-wrapper">
            <div class="search-condition-inner clearfix">
                <div class="position-select-wrapper">
                    <div class="position-current-select">
                        <span class="placeholder-text">
                            职位类型
                        </span>
                    </div>
                    <div class="position-select-dropdown">
                        <span class="position-select-lable">职位类型</span>
                        <ul class="position-select-list">
                            <li>
                                <a href="#">全部
                                    <em>(16)</em>
                                    <i class="ui-icon-check"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">技术
                                    <em>(15)</em>
                                    <i class="ui-icon-check"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">咨询/翻译/法律
                                    <em>(1)</em>
                                    <i class="ui-icon-check"></i>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <!--wrapper结束-->
                <!--四个筛选模块-->
                <div class="condition-filter-select">
                    <div class="current-select" >
                        <span class="placeholder-text">工作城市</span>
                    </div>
                    <!--下拉选项，使用layui写吧-->
                </div>

                <div class="search-job-input">
                    <input type="hidden" name="jrId" value="1">
                    <input type="text" placeholder="查找职位中包含的关键词" id="InputSelect">
                    <button class="job-search-btn" id="selectIndex" onclick="jobd()" style="border: none"></button>
                    <div class="search-job-options" style="display: none;">
                        <p class="search-job-empty">暂无推荐数据</p>
                    </div>
                </div>
            </div>
        </div>
        <!--头头结束-->
        <!--下方盒子div-->
        <div class="hidd" style="display: none;margin: 50px 650px;font-size: 16px">没有更多了</div>

        <div class="company-position-box" style="display: block">
            <div class="company-position-job">
                <div class="position-job-container" id="position-job-container" >
                    <ul class="position-job-list">
<!--                        <li class="job-card-box">-->
<!--                            <div class="job-info">-->
<!--                                <div class="job-title">-->
<!--                                    <a href="#" class="job-name">大连开发</a>-->
<!--                                    <span class="job-salary">13-16K*13薪</span>-->
<!--                                </div>-->
<!--                                <ul class="tag-list">-->
<!--                                    <li>5-10年</li>-->
<!--                                    <li>大专</li>-->
<!--                                </ul>-->
<!--                            </div>-->
<!--                            &lt;!&ndash;王女士&ndash;&gt;-->
<!--                            <div class="job-card-footer">-->
<!--                                <div class="boss-info">-->
<!--                                    <div class="boss-logo">-->
<!--                                        <img src="../../assets/img/gg.jpg">-->
<!--                                        <span class="boss-online-icon"></span>-->
<!--                                    </div>-->
<!--                                    <span class="boss-name">王女士-招聘专员</span>-->
<!--                                </div>-->
<!--                                <span class="company-location">-->
<!--                                    <a href="#">大连</a>-->
<!--                                    <span>杆子经区</span>-->
<!--                                    <span>软件园</span>-->
<!--                                </span>-->
<!--                            </div>-->
<!--                        </li>-->
<!--                        &lt;!&ndash;多个li标签&ndash;&gt;-->
<!--                        <li class="job-card-box">-->
<!--                            <div class="job-info">-->
<!--                                <div class="job-title">-->
<!--                                    <a href="#" class="job-name">大连开发</a>-->
<!--                                    <span class="job-salary">13-16K*13薪</span>-->
<!--                                </div>-->
<!--                                <ul class="tag-list">-->
<!--                                    <li>5-10年</li>-->
<!--                                    <li>大专</li>-->
<!--                                </ul>-->
<!--                            </div>-->
<!--                            &lt;!&ndash;王女士&ndash;&gt;-->
<!--                            <div class="job-card-footer">-->
<!--                                <div class="boss-info">-->
<!--                                    <div class="boss-logo">-->
<!--                                        <img src="../../assets/img/gg.jpg">-->
<!--                                        <span class="boss-online-icon"></span>-->
<!--                                    </div>-->
<!--                                    <span class="boss-name">王女士-招聘专员</span>-->
<!--                                </div>-->
<!--                                <span class="company-location">-->
<!--                                    <a href="#">大连</a>-->
<!--                                    <span>杆子经区</span>-->
<!--                                    <span>软件园</span>-->
<!--                                </span>-->
<!--                            </div>-->
<!--                        </li>-->
                        <!--多个li标签-->
                    </ul>
                    <!--开始分页-->
                    <div class="ui-page list-page text-center">
                        <div class="options-pages">
                            <div id="demo-laypage-normal-2"></div>
                        </div>
                    </div>
                    <!--分页结束-->

                </div>
                <!--开始写右边的标签了-->
                <div class="position-job-content">
                    <div class="job-detail-box" >
                        <div class="job-detail-header">
                            <div class="job-header-info">
                                <div class="job-detail-info" >
                                    <input type="hidden" value="" id="posid">
                                    <span class="job-name" id="jobName-1">大连开发高贤甫</span>
                                    <span class="job-salary" id="jobSalary-1">13-16K*13薪</span>
                                </div>
                                <ul class="tag-lists">
                                    <li>
                                        <a href="#" id="workPlace-1">大连</a>
                                    </li>
                                    <li id="expDemand-1">5-10年</li>
                                    <li id="background-1">大专</li>
                                </ul>
                            </div>
                            <!--敢不敢兴趣-->
                            <div class="job-detail-op">
                                <a href="#" class="op-btn op-btn-like" id="interest"><i class="layui-icon layui-icon-heart"></i>感兴趣</a>
                                <a href="javascript:goutong();" class="op-btn op-btn-chat">立即沟通</a>
                            </div>
                        </div>
                        <!--结束一部分-->
                        <!--下面主要内容-->
                        <div class="job-detail-body">
                            <h3 class="title">职位描述</h3>
                            <ul class="job-label-list" id="posKeyWord" >
                                <li style="float:left">Java</li>
                                <!--关键词--js来写吧-->
                            </ul>
                            <p class="desc" id="posDescriptions">
                                高贤甫有限责任公司是一个好公司
                                本社职位
                                职位要求：
                                1.计算机相关专业，统招专科以上学历；<br>
                                2.具有5年以上对日软件开发的工作经验，有5-10人规模的开发项目管理经验；<br>
                                3.掌握软件开发流程、规范和标准，精通JAVA、C、.NET、C#等常用编程语言中至少一种，熟练掌握基本SQL语法与数据库工具，能进行数据库应用开发；<br>
                                4.熟悉开发平台、环境和工具，可提出关键技术的解决方法；<br>
                                5.日语N2及以上，读写熟练，口语可会议沟通，可对客户提案；<br>
                                6.具有一定的沟通协调能力，良好的文档编写、管理与规划能力。<br>

                                福利待遇：<br>
                                1. 专业能力与绩效匹配的薪酬体系，每年调薪，13薪起；<br>
                                2. 入职即购五险一金；<br>
                                3. 提供节日礼物、生日福利、Team Building、旅游、体检等多种人性化的福利措施；<br>
                            </p>
                            <!--招聘者的信息详情-->
                            <div class="job-boss-info">
                                <div class="detail-figure" id="jr_avatar">
                                    <img src="/dev/assets/img/gg.jpg">
                                </div>
                                <h2 class="name" id="jr_name">高先生
<!--                                    <i class="icon-vip"></i>-->
<!--                                    <span class="boss-active-time">刚刚活跃</span>-->
                                </h2>
                                <div class="boss-info-attr">
                                    <li id="company_name">贤甫公司</li>
                                    <i id="company_type">.特招专员</i>

                                </div>
                            </div>
                            <!--结束-->
                            <div class="job-adress">
                                <span class="job-adress-title">工作地址</span>
                                <p class="job-adress-desc"  id="company_adress">驰星教学楼501</p>
                                <div class="map-box-wrapper">
                                    <img src="">
                                    <p class="adress-map-btn">点击查看地图</p>
                                </div>
                            </div>
                            <a  class="more-job-btn" href="javascript:mor();" id="moreThan">查看更多信息</a>
                        </div>
                    </div>

                </div>
            </div>


        </div>
    </div>

    <div id="company-c" style="display: block">


    </div>

    <div id="company-d" style="display: none">
        <main role="main" class="layout-main">
            <div id="page-main-content" class="page-wrap">
                <div class="page-content">
                    <div class="page-content-with-side">
                        <div class="page-main-width-side">
                            <div class="content-list-wrap">
                                <!--精选-关注以栏头头-->
                                <div class="tab-bar">
                                    <ul>
                                        <li>精选</li>
                                        <li>关注</li>
                                    </ul>
                                </div>
                                <!--end-->
                                <div>
                                    <div class="feed-wrap">
                                        <ul class="content-card-list">
                                            <!--li标签-->
                                            <li class="content-card-wrap">
                                                <div class="content-card">
                                                    <div class="card-header">
                                                        <div class=" user-info-card">
                                                            <!--头像-->
                                                            <div class="avatar isNotAnoymous">
                                                                <img src="/dev/assets/img/gg.jpg"
                                                                     style="width: 100%; height: 100%; border-radius: 50%;">
                                                            </div>
                                                            <div class="user-message">
                                                                <div class="user-title">
                                                                    <p class="username isNotAnonymous">
                                                                        <!--昵称-->
                                                                        <span>高贤甫</span>
                                                                    </p>
                                                                    <button class="btn-focus">
                                                                        <svg aria-hidden="true" class="iconPlus">
                                                                            <use xlink:href="#icon-icon-plus"></use>
                                                                        </svg>
                                                                    </button>
                                                                </div>
                                                                <!--结束-->
                                                                <!--个性签名-->
                                                                <p class="sunTitle">摸鱼摸鱼，我最爱摸鱼</p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--结束一部分-->
                                                    <div class="card-header-end-options">

                                                        <div class="expand-list-wrap">
                                                            <div class="more-list-wrap">
                                                                <div tabindex="2" class="traget">
                                                                    <svg aria-hidden="true" tabindex="1" class="icon-more">
                                                                        <use xlink:href="#icon-icon-more"></use>
                                                                    </svg>
                                                                </div>

                                                                <!--结束一点-->
                                                                <ul class="more-list-options" style="display: none;">
                                                                    <li class="more-list-option">不感兴趣</li>
                                                                    <li class="more-list-option">举报</li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--任务部分已结束-->
                                                    <main class="card-content">
                                                        <div class="text-viewer-wrap">
                                                            <div class="text-content" id="cop-text"
                                                                 style="max-height: 72px; overflow: hidden;">
                                                                <div style="float: right; height: 48px;">
                                                                </div>

                                                                <!--新开一个div-->
                                                                <div class="expand-icon">

                                                                    <svg aria-hidden="true" class="svg-icon iconExpand">
                                                                        <use xlink:href="#icon-icon-expand"></use>
                                                                    </svg>
                                                                </div>
                                                                <span class="real-text">
                                                                第一层痛苦：简历很多，找不到人。
                                                                堆叠如山的简历，三秒钟看一份简历，两眼看的发胀。如今面对海投简历实在没有办法，招个本科生，幼儿园毕业的都投简历了，实在气啊，在这样浩瀚的简历中，招到合适的人才，简直就是大海捞针，实在痛苦。
                                                                第二层痛苦：简历少，找不到人。
                                                                招聘信息发布了一个月，零星几张简历，叫我怎么招人，选择余地那么小，招到合适的人怎么就那么难呢。给我一小水沟，就让我捞一条大鱼上来，怎么可能呢，人才啊人才啊，你什么时候把简历投过来。
                                                                第三层痛苦：HR认为人合适，用人部门看不上。
                                                                我辛苦面试，千挑万选，过滤了一批又一批，终于招到满意的人，把人推荐给用人部门一看。“你招的都是些什么人，重新招。”一句抛过来，恨不得掐死部门经理。
                                                                第四层痛苦：HR和部门经理觉得合适，但老板给的钱少，人家不来。
                                                                HR无奈只能再招人，把人才市场捞了一遍又一遍，终于捞到了大鱼，可气的用人部门也很满意，满心欢喜的时候，老板脸一拉下来，说：“太贵了，我们请不起。”HR这时候简直有抽人的冲动。
                                                                第五层痛苦：部门经理推荐的人不合适，你硬着头皮要。
                                                                部门经理的眼光就是不一样，真不知道他是怎么看人的，推荐了一个人，完全不合适，没办法，只能没有原则要了。
                                                                第六层痛苦：找到合适的人，老板突然说不要了。
                                                                蹦跶蹦跶跑去老板办公室，想告诉老板，要的人招到了。刚到办公室，老板说：“那个职位的人不要招了。”这个噩耗就如五雷轰顶啊。
                                                                第七层痛苦：找到合适的人，人不来了。
                                                                满心欢喜，万事具备啊，打电话给确定好的人。“喂，！@#￥%?8943.&amp;。”然后对方一句“不好意思，！@￥?8943.&amp;。”又将HR打入了无底深渊。
                                                                第八层痛苦：合适的人报道后，呆了一个月走了。
                                                                新人总算来了，都还不错，还在适应期。本以为可以缓一口气了，可是干刚一个月又走了。为何总是遇人不淑啊。
                                                                第九层痛苦：合适的人报道后，呆了三天左右走了。
                                                                这次又招了一个满意的，报道合同都签了，可是干了三天就拍屁股走了，让人空欢喜一场。
                                                                第十层痛苦：合适的人刚报道，接了个电话，就走了。
                                                                最狠的人，刚来报道，接了个电话就跑了，这么明目张胆太伤人自尊了。
                                                                这次又招了一个满意的，报道合同都签了，可是干了三天就拍屁股走了，让人空欢喜。
                                                                请善待人事
                                                                招人不仅是个技术活儿，还费体力、伤感情！一场招聘下来，一个环节断了，全部重新来过……HR们都已经快奄奄一息，看透人生了！
                                                            </span>
                                                            </div>
                                                            <p class="cops" onclick="cops();" style="float: right;">展开</p>
                                                        </div>
                                                        <!--真难对-->
<!--                                                        <div class="pic-list-wrap">-->
<!--                                                            <div class="single-pic">-->
<!--                                                                <img src="/dev/assets/img/gg.jpg" class="v">-->
<!--                                                            </div>-->
<!--                                                        </div>-->
                                                        <!--结束-->
                                                        <div class="topic-line">
                                                            <div class="topic mr-8">
                                                                <!--留一个#图标-->
                                                                <!--标签分类-->
                                                                <a href="#" class="topic-name">摸鱼那些年</a>
                                                            </div>
                                                        </div>
                                                    </main>
                                                    <!--结束-->
                                                    <footer class="card-footer">
                                                        <div class="card-bottom" style="margin-top: 16px;">
                                                            <div class="card-bottom-list">
                                                                <button class="cb-item like" id="person-like">
                                                                    <i class="layui-icon layui-icon-heart"></i>
                                                                    <!--点赞数-->
                                                                    <span>250</span>
                                                                </button>
                                                                <button class="cb-item comment" id="person-comment"
                                                                        onclick="personC(this);">
                                                                    <!-- <svg aria-hidden="true" class="svg-icon">
                                                                        <use xlink:href="#icon-icon-feed-comment"></use>
                                                                    </svg> -->
                                                                    <i class="layui-icon layui-icon-reply-fill"></i>

                                                                    <!--评论数-->
                                                                    <span>250</span>
                                                                </button>
                                                                <!--留一个分享-->

                                                                <button class="cb-item get" id="person-get">
                                                                    <i class="layui-icon layui-icon-star"></i>
                                                                    <!--点赞数-->
                                                                    <span>250</span>
                                                                </button>
                                                            </div>
                                                            <!--评论隐藏，点击展开-->
                                                            <div class="comment-wrap" style="display: none;">
                                                                <!-- <div class="comment-wrap" style="display: block;"> -->
                                                                <div class="cmt-inputs">
                                                                    <div class="cmt-item">
                                                                        <div class="cmt-avatar"
                                                                             style="background: url('/dev/assets/img/gg.jpg');">
                                                                        </div>
                                                                        <!--输入框-->
                                                                        <div class="input-wrap-textarea">
                                                                            <label class>
                                                                            <textarea wrap="soft" autocomplete="on"
                                                                                      class="input"
                                                                                      style="height: 37.6px;min-height: 37.6px;"
                                                                                      placeholder="回复:"></textarea>
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                    <!--结束一点-->
                                                                    <div class="options">
                                                                        <button class="reply-btn empty">评论</button>
                                                                    </div>
                                                                </div>
                                                                <!--评论按钮结束-->
                                                                <div class="cmt-list-wrap">
                                                                    <div class="cmt-header">
                                                                        <p class="calc-text">666条评论</p>
                                                                    </div>

                                                                    <ul class="cmt-list">
                                                                        <div class="flow-demo ID-flow-demo-manual" id="">

                                                                            <!--新的li标签-->

                                                                            <!--至此一个cmt-node结束-->


                                                                        </div>

                                                                    </ul>

                                                                </div>
                                                            </div>
                                                        </div>

                                                    </footer>
                                                </div>
                                            </li>
                                            <!--继续li标签-->

                                            <!--继续li标签-->
                                        </ul>
                                    </div>
                                    <!--又变了-->
                                    <input type="hidden" id="page_key_name" value="youle_pc_recommend">
                                </div>
                            </div>
                        </div>
                        <!--右边了-->
                        <div class="page-side">
                            <div class="recommend">
                                <h2 class="title">Hi,高贤甫</h2>
                                <p class="subTitle">今天想写点什么</p>
                                <ul class="link-list">
                                    <li class="link-block">
                                        <a href="#">
                                            <div class="link-img question">
                                                <svg aria-hidden="true" tabindex="1" class="svg-icon">
                                                    <use xlink:href="#icon-icon-link-question"></use>
                                                </svg>
                                            </div>
                                            <span class="link-text">
                                            <button type="button" class="layui-btn layui-btn-primary"
                                                    lay-on="test-iframe-curl"
                                                    style="margin: auto;border-radius: 8px;">发提问</button>
                                                <!-- <i class="layui-icon layui-icon-question">发提问</i>  -->
                                        </span>
                                        </a>
                                    </li>
                                    <!--去到社区先不写-->

                                </ul>
                            </div>
                            <!--数据统计页面-->
                            <div class="my-data">
                                <div class="page-block-header">
                                    <h2 class="title">我的数据</h2>
                                    <div value="all" class="more-list-wrap">
                                        <div tabindex="2" class="target">
                                            <svg aria-hidden="true" tabindex="1" class="svg-icon icon-more">
                                                <use xlink:href="#icon-icon-more-data"></use>
                                            </svg>
                                        </div>
                                        <!---->
                                        <ul class="more-list-options" style="display: none;">
                                            <li class="more-list-option current">全部数据</li>
                                            <li class="more-list-option">问答数据</li>
                                            <li class="more-list-option">文章数据</li>
                                        </ul>
                                    </div>
                                </div>
                                <!--头结束-->
                                <ul class="data-list">
                                    <li class="data-item">
                                        <span class="name">内容量</span>
                                        <span class="value">250</span>
                                        <p class="diff">
                                            <span>昨日无变化</span>
                                        </p>
                                    </li>
                                    <!--继续li标签-->
                                    <li class="data-item">
                                        <span class="name">或赞</span>
                                        <span class="value">250</span>
                                        <p class="diff">
                                            <span>昨日无变化</span>
                                        </p>
                                    </li>
                                    <!--li标签-->
                                    <li class="data-item">
                                        <span class="name">粉丝数</span>
                                        <span class="value">250</span>
                                        <p class="diff">
                                            <span>昨日无变化</span>
                                        </p>
                                    </li>
                                </ul>
                            </div>
                            <!--统计数据结束 -->

                        </div>
                    </div>
                </div>
            </div>
        </main>





    </div>

</div>



<!--必须先引入jquery.min.js-->
<script src="/dev/plugins/jquery/jquery.min.js"></script>
<script src="/dev/plugins/bootstrap/js/bootstrap.js"></script>
<script src="/dev/plugins/layui/layui/layui.js"></script>
<script>
    $(function (){
        $("#nav").load("/dev/views/common/nav.html")
    })
</script>
<script src="/dev/assets/js/job/page/jobdetails.js"></script>
<script>

    function goutong(){
        let params = new URLSearchParams(window.location.search);
        let jrId = params.get('jrId');
        window.location.href=`/dev/views/job/page/message.html?jrId=${jrId}`
    }


    function o(){
        let content=document.getElementById("companyIntro")
        let lookAll = document.querySelector(".look-alls");
        if (content.classList.contains("expanded")) {
            content.classList.remove("expanded");
            lookAll.textContent = "查看全部";

        } else {
            content.classList.add("expanded");
            lookAll.textContent = "收起全部";

        }
    }

    function e(){
        let content=document.getElementById("appear")
        let lookAll = document.querySelector(".look-all-appear");
        if (content.classList.contains("expanded")) {
            content.classList.remove("expanded");
            lookAll.textContent = "查看全部";

        } else {
            content.classList.add("expanded");
            lookAll.textContent = "收起全部";

        }
    }
    function CD(){
        companyD.style.display='block';
        companyA.style.display='none';
        companyB.style.display='none';
        let params = new URLSearchParams(window.location.search);
        let jrId = params.get('jrId');
        let problemClickId=[]
        $.ajax({
            headers:{
                "id":localStorage.getItem("id"),
                "token":localStorage.getItem("token")
            },
            url:"/dev/problem/searchClickProblem",
            type:"post",
            data:{
              "jsId":localStorage.getItem("id"),
              "clickIdentification":0
            },
            success:function (result){
                if (result.code==200){
                    for (let i=0;i<result.data.length;i++){
                        problemClickId[i]=result.data[i]
                    }
                }
            }
        })
        $.ajax({
            headers:{
                "id":localStorage.getItem("id"),
                "token":localStorage.getItem("token")
            },
            url:"/dev/problem/searchProblem",
            type:"post",
            data:{"jrId":jrId},
            success:function (result){
                if (result.code==200){
                    let content = document.querySelector(".content-card-list")
                    console.log(result)
                    if (result.data==null){
                        content.innerHTML='<li><span>暂时无人发布问题</span></li>'
                    }else {
                        let str = ``
                        let flowId = 0;
                        for (let i=0;i<result.data.length;i++){
                            for (let j=0;j<problemClickId.length;j++){
                                if (problemClickId[j]==result.data[i].id){
                                    str+=`<li class="content-card-wrap">
                                                <div class="content-card">
                                                    <div class="card-header">
                                                        <div class=" user-info-card">
                                                            <!--头像-->
                                                            <div class="avatar isNotAnoymous">
                                                                <img src="${result.data[i].avatar}"
                                                                     style="width: 100%; height: 100%; border-radius: 50%;">
                                                            </div>

                                                            <div class="user-message">
                                                                <div class="user-title">
                                                                    <p class="username isNotAnonymous">
                                                                        <!--昵称-->
                                                                        <span>${result.data[i].jsName}</span>
                                                                    </p>
                                                                    <button class="btn-focus">
                                                                        <svg aria-hidden="true" class="iconPlus">
                                                                            <use xlink:href="#icon-icon-plus"></use>
                                                                        </svg>
                                                                    </button>
                                                                </div>
                                                                <!--结束-->
                                                                <!--个性签名-->
                                                                <p class="sunTitle">摸鱼摸鱼，我最爱摸鱼</p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--结束一部分-->
                                                    <div class="card-header-end-options">

                                                        <div class="expand-list-wrap">
                                                            <div class="more-list-wrap">
                                                                <div tabindex="2" class="traget">
                                                                    <svg aria-hidden="true" tabindex="1" class="icon-more">
                                                                        <use xlink:href="#icon-icon-more"></use>
                                                                    </svg>
                                                                </div>

                                                                <!--结束一点-->
                                                                <ul class="more-list-options" style="display: none;">
                                                                    <li class="more-list-option">不感兴趣</li>
                                                                    <li class="more-list-option">举报</li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--任务部分已结束-->
                                                    <main class="card-content">
                                                        <div class="text-viewer-wrap">
                                                            <div class="text-content" id="cop-text"
                                                                 style="max-height: 72px; overflow: hidden;">
                                                                <div style="float: right; height: 48px;">
                                                                </div>

                                                                <!--新开一个div-->
                                                                <div class="expand-icon">

                                                                    <svg aria-hidden="true" class="svg-icon iconExpand">
                                                                        <use xlink:href="#icon-icon-expand"></use>
                                                                    </svg>
                                                                </div>
                                                                <span class="real-text">
                                                                ${result.data[i].problem}
                                                            </span>
                                                            </div>
                                                            <p class="cops" onclick="cops();" style="float: right;">展开</p>
                                                        </div>
                                                        <!--真难对-->

                                                        <!--结束-->
                                                        <div class="topic-line">
                                                            <div class="topic mr-8">
                                                                <!--留一个#图标-->
                                                                <!--标签分类-->
                                                                <a href="#" class="topic-name">摸鱼那些年</a>
                                                            </div>
                                                        </div>
                                                    </main>
                                                    <!--结束-->
                                                    <footer class="card-footer">
                                                        <div class="card-bottom" style="margin-top: 16px;">
                                                            <div class="card-bottom-list">
                                                                <button class="cb-item like" onclick="problemLikebtn(this)">
                                                                    <i class="layui-icon layui-icon-heart-fill"></i>
                                                                    <input type="hidden" value="${result.data[i].id}">
                                                                    <!--点赞数-->
                                                                    <span>${result.data[i].likeNum}</span>
                                                                </button>
                                                                <button class="cb-item comment" id="person-comment"
                                                                        onclick="personC(this);">
                                                                    <!-- <svg aria-hidden="true" class="svg-icon">
                                                                        <use xlink:href="#icon-icon-feed-comment"></use>
                                                                    </svg> -->
                                                                    <i class="layui-icon layui-icon-reply-fill"></i>

                                                                    <!--评论数-->
                                                                    <span>${result.data[i].commentNum}</span>
                                                                </button>
                                                                <!--留一个分享-->

                                                                <button class="cb-item get" id="person-get">
                                                                    <i class="layui-icon layui-icon-star"></i>
                                                                    <!--分享数-->
                                                                    <span>250</span>
                                                                </button>
                                                            </div>
                                                            <!--评论隐藏，点击展开-->
                                                            <div class="comment-wrap" style="display: none;">
                                                                <!-- <div class="comment-wrap" style="display: block;"> -->
                                                                <div class="cmt-inputs">
                                                                    <div class="cmt-item">
                                                                        <div class="cmt-avatar"
                                                                             style="background: url('${result.data[i].avatar}');">
                                                                        </div>
                                                                        <!--输入框-->
                                                                        <div class="input-wrap-textarea">
                                                                            <label class>
                                                                            <textarea wrap="soft" autocomplete="on"
                                                                                      class="input"
                                                                                      style="height: 37.6px;min-height: 37.6px;"
                                                                                      placeholder="评论:"></textarea>
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                    <!--结束一点-->
                                                                    <div class="options">
                                                                        <input type="hidden" value="${result.data[i].id}" id="${result.data[i].id}">
                                                                        <button class="reply-btn empty" style="background: #00b8bf;cursor: pointer" onclick="publishComment(this)">评论</button>
                                                                    </div>
                                                                </div>
                                                                <!--评论按钮结束-->
                                                                <div class="cmt-list-wrap">
                                                                    <div class="cmt-header">
                                                                        <p class="calc-text">${result.data[i].commentNum}条评论</p>
                                                                    </div>

                                                                    <ul class="cmt-list">
                                                                        <div class="flow-demo" id="ID-flow-demo-manual${flowId++}">

                                                                            <!--新的li标签-->

                                                                            <!--至此一个cmt-node结束-->
                                                                        </div>
                                                                    </ul>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </footer>
                                                </div>
                                            </li>`
                                }
                            }
                            str+=`<li class="content-card-wrap">
                                                <div class="content-card">
                                                    <div class="card-header">
                                                        <div class=" user-info-card">
                                                            <!--头像-->
                                                            <div class="avatar isNotAnoymous">
                                                                <img src="${result.data[i].avatar}"
                                                                     style="width: 100%; height: 100%; border-radius: 50%;">
                                                            </div>

                                                            <div class="user-message">
                                                                <div class="user-title">
                                                                    <p class="username isNotAnonymous">
                                                                        <!--昵称-->
                                                                        <span>${result.data[i].jsName}</span>
                                                                    </p>
                                                                    <button class="btn-focus">
                                                                        <svg aria-hidden="true" class="iconPlus">
                                                                            <use xlink:href="#icon-icon-plus"></use>
                                                                        </svg>
                                                                    </button>
                                                                </div>
                                                                <!--结束-->
                                                                <!--个性签名-->
                                                                <p class="sunTitle">摸鱼摸鱼，我最爱摸鱼</p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--结束一部分-->
                                                    <div class="card-header-end-options">

                                                        <div class="expand-list-wrap">
                                                            <div class="more-list-wrap">
                                                                <div tabindex="2" class="traget">
                                                                    <svg aria-hidden="true" tabindex="1" class="icon-more">
                                                                        <use xlink:href="#icon-icon-more"></use>
                                                                    </svg>
                                                                </div>

                                                                <!--结束一点-->
                                                                <ul class="more-list-options" style="display: none;">
                                                                    <li class="more-list-option">不感兴趣</li>
                                                                    <li class="more-list-option">举报</li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--任务部分已结束-->
                                                    <main class="card-content">
                                                        <div class="text-viewer-wrap">
                                                            <div class="text-content" id="cop-text"
                                                                 style="max-height: 72px; overflow: hidden;">
                                                                <div style="float: right; height: 48px;">
                                                                </div>

                                                                <!--新开一个div-->
                                                                <div class="expand-icon">

                                                                    <svg aria-hidden="true" class="svg-icon iconExpand">
                                                                        <use xlink:href="#icon-icon-expand"></use>
                                                                    </svg>
                                                                </div>
                                                                <span class="real-text">
                                                                ${result.data[i].problem}
                                                            </span>
                                                            </div>
                                                            <p class="cops" onclick="cops();" style="float: right;">展开</p>
                                                        </div>
                                                        <!--真难对-->

                                                        <!--结束-->
                                                        <div class="topic-line">
                                                            <div class="topic mr-8">
                                                                <!--留一个#图标-->
                                                                <!--标签分类-->
                                                                <a href="#" class="topic-name">摸鱼那些年</a>
                                                            </div>
                                                        </div>
                                                    </main>
                                                    <!--结束-->
                                                    <footer class="card-footer">
                                                        <div class="card-bottom" style="margin-top: 16px;">
                                                            <div class="card-bottom-list">
                                                                <button class="cb-item like" onclick="problemLikebtn(this)">
                                                                    <i class="layui-icon layui-icon-heart"></i>
                                                                    <input type="hidden" value="${result.data[i].id}">
                                                                    <!--点赞数-->
                                                                    <span>${result.data[i].likeNum}</span>
                                                                </button>
                                                                <button class="cb-item comment" id="person-comment"
                                                                        onclick="personC(this);">
                                                                    <!-- <svg aria-hidden="true" class="svg-icon">
                                                                        <use xlink:href="#icon-icon-feed-comment"></use>
                                                                    </svg> -->
                                                                    <i class="layui-icon layui-icon-reply-fill"></i>

                                                                    <!--评论数-->
                                                                    <span>${result.data[i].commentNum}</span>
                                                                </button>
                                                                <!--留一个分享-->

                                                                <button class="cb-item get" id="person-get">
                                                                    <i class="layui-icon layui-icon-star"></i>
                                                                    <!--分享数-->
                                                                    <span>250</span>
                                                                </button>
                                                            </div>
                                                            <!--评论隐藏，点击展开-->
                                                            <div class="comment-wrap" style="display: none;">
                                                                <!-- <div class="comment-wrap" style="display: block;"> -->
                                                                <div class="cmt-inputs">
                                                                    <div class="cmt-item">
                                                                        <div class="cmt-avatar"
                                                                             style="background: url('${result.data[i].avatar}');">
                                                                        </div>
                                                                        <!--输入框-->
                                                                        <div class="input-wrap-textarea">
                                                                            <label class>
                                                                            <textarea wrap="soft" autocomplete="on"
                                                                                      class="input"
                                                                                      style="height: 37.6px;min-height: 37.6px;"
                                                                                      placeholder="评论:"></textarea>
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                    <!--结束一点-->
                                                                    <div class="options">
                                                                        <input type="hidden" value="${result.data[i].id}" id="${result.data[i].id}">
                                                                        <button class="reply-btn empty" style="background: #00b8bf;cursor: pointer" onclick="publishComment(this)">评论</button>
                                                                    </div>
                                                                </div>
                                                                <!--评论按钮结束-->
                                                                <div class="cmt-list-wrap">
                                                                    <div class="cmt-header">
                                                                        <p class="calc-text">${result.data[i].commentNum}条评论</p>
                                                                    </div>

                                                                    <ul class="cmt-list">
                                                                        <div class="flow-demo" id="ID-flow-demo-manual${flowId++}">

                                                                            <!--新的li标签-->

                                                                            <!--至此一个cmt-node结束-->
                                                                        </div>
                                                                    </ul>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </footer>
                                                </div>
                                            </li>`
                        }
                        content.innerHTML=str
                    }

                }


            }
        })

    }

    function say(){
        window.location=`/dev/views/job/page/message.html?jrId=${jrId}`
    }

    let companyA=document.getElementById("company-a");
    let companyB=document.getElementById("company-b");
    let companyD=document.getElementById("company-d");
    $("#btn-a").click(function () {
        companyA.style.display='block';
        companyB.style.display='none';
        companyD.style.display='none';
    });

    function publishComment(is){
        let comment = is.parentElement.previousElementSibling.children[1].children[0].children[0].value
        let problemId = is.previousElementSibling.value
        let flowId = is.parentElement.parentElement.nextElementSibling.children[1].children[0].id
        console.log(comment)
        console.log(problemId)

        console.log(layui.flow)
        $.ajax({
            headers:{
            "id":localStorage.getItem("id"),
            "token":localStorage.getItem("token")
            },
            url:"/dev/comment/saveComment",
            type:"post",
            data:{
                "jsId":localStorage.getItem("id"),
                "problemId":problemId,
                "comment":comment
            },
            success:function (result){
                if (result.code==200){
                    layui.$(`#${flowId}`).empty();
                    let numsId = 0
                    layui.use(function () {
                        let flow = layui.flow;
                        // 流加载实例
                        flow.load({
                            elem: `#${flowId}`, // 流加载容器
                            //scrollElem: '#ID-flow-demo-manual', // 滚动条所在元素，一般不用填，此处只是演示需要。
                            isAuto: false,
                            isLazyimg: true,
                            done: function (page, next) {// 加载下一页
                                setTimeout(function () {
                                    $.ajax({
                                        headers:{
                                            "id":localStorage.getItem("id"),
                                            "token":localStorage.getItem("token")
                                        },
                                        url:"/dev/comment/searchComment",
                                        type:"post",
                                        data:{
                                            "problemId": problemId,
                                        },
                                        success:function (result){
                                            var lis = [];
                                            let start = (page - 1) * 3;
                                            let end = Math.min(start + 3, result.data.length)
                                            for (var i = start; i < end; i++) {
                                                lis.push(`<li class="cmt-node">
                                <ul>
                                    <li class="cmt-item">
                                        <div class="cmt-avatar" style="background: url('${result.data[i].avatar}');"></div>
                                        <div class="cmt-item-content">
                                            <div class="cmt-user-info">
                                                <div >
                                                    <div class="user-title">
                                                        <span class="user-name">${result.data[i].jsName}</span>
                                                    </div>
                                                    <p class="user-sub-title"></p>
                                                </div>

                                                                                        <!--日期-->
                                                <div class="cmt-item-end-content">
                                                    <p class="add-time">${result.data[i].createTime}</p>
                                                </div>
                                            </div>
                                            <!--评论内容-->
                                            <p class="cmt-content">${result.data[i].comment}</p>
                                            <div class="cmt-item-options">
                                                <div class="cmt-item-option like">
                                                    <i class="layui-icon layui-icon-heart"></i>
                                                    <span>赞</span>
                                                </div>
                                                <div class="cmt-item-option-hiddenReply" onclick="zbc1(this)" >
                                                    <i class="layui-icon layui-icon-reply-fill"></i>
                                                    <span>回复</span>
                                                    <!-- <span class="close-cmt">收起回复</span> -->
                                                </div>
                                                <div class="selAll">
                                                    <i class="layui-icon layui-icon-down"></i>
                                                    <button class="sells" onclick="sells(this);">展开全部回复</button>
                                                </div>
                                            </div>
                                        </div>
                                        <!-- </li> -->
                                        <!--隐藏评论下面的回复 给个js事件展开来看-->
                                        <div class="cmt-input" style="display: none;">
                                            <div class="cmt-item">
                                                <div class="input-wrap-textarea">
                                                    <label >
                                                        <textarea wrap="soft" class="input" autocomplete="on" placeholder="回复:" style="height: 37.6px;min-height: 37.6px;"></textarea>
                                                    </label>
                                                </div>
                                            </div>
                                            <!--回复按钮-->
                                            <div class="options">
                                                <button class="reply-btn empty" style="background: #00b8bf;cursor: pointer" onclick="publishResponse(this)">回复</button>
                                                <input type="hidden" value="${result.data[i].id}">
                                            </div>
                                        </div>
                                    </li>
                                    <!--回复-->
                                        <div class="flow-demo" id="ID-flow-demos${numsId++}${result.data[i].id}" style="display: none;">
                                            <div class="cmt-sub-list-wrap" style="display: none;" >
                                                <ul class="cmt-sub-list">
                                                    <li class="cmt-item">
                                                        <div class="cmt-avatar" style="background: url('${result.data[i].avatar}');"></div>
                                                        <div class="cmt-item-content">
                                                            <div class="cmt-user-info">
                                                                <div >
                                                                    <div class="user-title">
                                                                        <span class="user-name">赵建云</span>
                                                                    </div>
                                                                    <p class="user-sub-title"></p>
                                                                </div>

                                                                <!--日期-->
                                                                <div class="cmt-item-end-content">
                                                                    <p class="add-time">10/20 9.21</p>
                                                                </div>
                                                            </div>
                                                            <p class="cmt-content">哈哈哈真不错</p>
                                                            <div class="cmt-item-options">
                                                                <div class="cmt-item-option like">
                                                                    <i class="layui-icon layui-icon-heart"></i>
                                                                    <span>赞</span>
                                                                </div>
                                                                <div class="cmt-item-option-hiddenReply" >
                                                                    <i class="layui-icon layui-icon-reply-fill"></i>
                                                                    <span>回复</span>
                                                                    <!-- <span class="close-cmt">收起回复</span> -->
                                                                </div>
                                                            </div>



                                                        </div>
                                                    </li>


                                                    <!-- <p class="see-more">
                                                        <span class="sm-text">全部<i>2</i>条回复</span>
                                                    </p> -->
                                                </ul>
                                            </div>
                                            <!--layui的div-->
                                        </div>
                                        <!--回复结束-->
                                </ul >

                            </li >`)
                                            }
                                            next(lis.join(''), page < Math.ceil(result.data.length / 3)); // 假设总页数为 6
                                        }
                                    })

                                }, 520);
                            }
                        });
                    });
                    is.parentElement.previousElementSibling.children[1].children[0].children[0].value=''
                }
            }
        })


    }


    function publishResponse(is){
        let response = is.parentElement.previousElementSibling.children[0].children[0].children[0].value
        let commentId = is.nextElementSibling.value
        let responseFlow = is.parentElement.parentElement.parentElement.nextElementSibling.id
        console.log(response)
        console.log(commentId)
        console.log(responseFlow)
        $.ajax({
            headers:{
                "id":localStorage.getItem("id"),
                "token":localStorage.getItem("token")
            },
            type:"post",
            url:"/dev/response/saveResponse",
            data:{
                "jsId":localStorage.getItem("id"),
                "commentId":commentId,
                "response":response,
                "optionJsName":null
            },
            success:function (result){
                if (result.code==200){
                    layui.$(`#${responseFlow}`).empty();
                    layui.use(function () {
                        var flow = layui.flow;
                        // 流加载实例
                        flow.load({
                            elem: `#${responseFlow}`, // 流加载容器
                            //scrollElem: '#ID-flow-demo-manual', // 滚动条所在元素，一般不用填，此处只是演示需要。
                            isAuto: false,
                            isLazyimg: true,
                            done: function (page, next) { // 加载下一页
                                // 模拟插入
                                setTimeout(function () {
                                    $.ajax({
                                        headers: {
                                            "id": localStorage.getItem("id"),
                                            "token": localStorage.getItem("token")
                                        },
                                        url: "/dev/response/searchResponse",
                                        type: "post",
                                        data: {
                                            "commentId": commentId
                                        },
                                        success: function (result) {
                                            if (result.code==200){
                                                var lis = [];
                                                let start = (page - 1) * 3;
                                                let end = Math.min(start + 3, result.data.length)
                                                for (var i = start; i < end; i++) {
                                                    lis.push(`<div class="cmt-sub-list-wrap">
                                                                                <ul class="cmt-sub-list">
                                                                                    <li class="cmt-item">
                                                                                        <div class="cmt-avatar" style="background: url('${result.data[i].avatar}');"></div>
                                                                                        <div class="cmt-item-content">
                                                                                            <div class="cmt-user-info">
                                                                                                <div >
                                                                                                    <div class="user-title">
                                                                                                        <span class="user-name">${result.data[i].jsName}${result.data[i].optionJsName==null?'':'to'}${result.data[i].optionJsName==null?'':result.data[i].optionJsName}</span>
                                                                                                    </div>
                                                                                                    <p class="user-sub-title"></p>
                                                                                                </div>

                                                                                                <!--日期-->
                                                                                                <div class="cmt-item-end-content">
                                                                                                    <p class="add-time">${result.data[i].createTime}</p>
                                                                                                </div>
                                                                                            </div>
                                                                                            <p class="cmt-content">${result.data[i].response}</p>
                                                                                            <div class="cmt-item-options">
                                                                                                <div class="cmt-item-option like">
                                                                                                    <i class="layui-icon layui-icon-heart"></i>
                                                                                                    <span>${result.data[i].likeNum}</span>
                                                                                                </div>
                                                                                                <div class="cmt-item-option-hiddenReplys" onclick="sec(this);">
                                                                                                    <i class="layui-icon layui-icon-reply-fill"></i>
                                                                                                    <span>回复</span>
                                                                                                    <!-- <span class="close-cmt">收起回复</span> -->
                                                                                                </div>
                                                                                            </div>

                                                                                        </div>

                                                                                        <div class="cmt-inputa" style="display: none;">
                                                                                            <div class="cmt-item">
                                                                                                <div class="input-wrap-textarea">
                                                                                                    <label >
                                                                                                        <textarea wrap="soft" class="input" autocomplete="on" placeholder="回复:" style="height: 37.6px;min-height: 37.6px;"></textarea>
                                                                                                    </label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <!--回复按钮-->
                                                                                            <div class="options">
                                                                                                <button class="reply-btn empty" style="background: #00b8bf;cursor: pointer" onclick="innerResponse(this)">回复</button>
                                                                                                <input type="hidden" value="${result.data[i].jsName}">
                                                                                                <input type="hidden" value="${commentId}">
                                                                                            </div>
                                                                                        </div>
                                                                                    </li>
                                                                                </ul>
                                                                            </div>`)
                                                }
                                                next(lis.join(''), page < Math.ceil(result.data.length / 3)); // 假设总页数为 6
                                            }else {
                                                sg.innerHTML=`<h4>暂无回复</h4>`
                                            }

                                        }
                                    })

                                }, 520);
                            }
                        });
                    });
                }
                is.parentElement.previousElementSibling.children[0].children[0].children[0].value=''
            }
        })
    }
function innerResponse(is){
    let response = is.parentElement.previousElementSibling.children[0].children[0].children[0].value
    let responseJsName = is.nextElementSibling.value
    let commentId = is.nextElementSibling.nextElementSibling.value
    console.log(responseJsName)
    let responseFlow = is.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.id
    $.ajax({
        headers:{
            "id":localStorage.getItem("id"),
            "token":localStorage.getItem("token")
        },
        url:"/dev/response/saveResponse",
        type:"post",
        data:{
            "jsId":localStorage.getItem("id"),
            "commentId":commentId,
            "response":response,
            "optionJsName":responseJsName
        },
        success:function (result){
            if (result.code==200){
                layui.$(`#${responseFlow}`).empty();
                layui.use(function () {
                    var flow = layui.flow;
                    // 流加载实例
                    flow.load({
                        elem: `#${responseFlow}`, // 流加载容器
                        //scrollElem: '#ID-flow-demo-manual', // 滚动条所在元素，一般不用填，此处只是演示需要。
                        isAuto: false,
                        isLazyimg: true,
                        done: function (page, next) { // 加载下一页
                            // 模拟插入
                            setTimeout(function () {
                                $.ajax({
                                    headers: {
                                        "id": localStorage.getItem("id"),
                                        "token": localStorage.getItem("token")
                                    },
                                    url: "/dev/response/searchResponse",
                                    type: "post",
                                    data: {
                                        "commentId": commentId
                                    },
                                    success: function (result) {
                                        if (result.code==200){
                                            console.log(result)
                                            var lis = [];
                                            let start = (page - 1) * 3;
                                            let end = Math.min(start + 3, result.data.length)
                                            for (var i = start; i < end; i++) {
                                                lis.push(`<div class="cmt-sub-list-wrap">
                                                                                <ul class="cmt-sub-list">
                                                                                    <li class="cmt-item">
                                                                                        <div class="cmt-avatar" style="background: url('${result.data[i].avatar}');"></div>
                                                                                        <div class="cmt-item-content">
                                                                                            <div class="cmt-user-info">
                                                                                                <div >
                                                                                                    <div class="user-title">
                                                                                                        <span class="user-name">${result.data[i].jsName}${result.data[i].optionJsName==""?'':'to'}${result.data[i].optionJsName==null?'':result.data[i].optionJsName}</span>
                                                                                                    </div>
                                                                                                    <p class="user-sub-title"></p>
                                                                                                </div>

                                                                                                <!--日期-->
                                                                                                <div class="cmt-item-end-content">
                                                                                                    <p class="add-time">${result.data[i].createTime}</p>
                                                                                                </div>
                                                                                            </div>
                                                                                            <p class="cmt-content">${result.data[i].response}</p>
                                                                                            <div class="cmt-item-options">
                                                                                                <div class="cmt-item-option like">
                                                                                                    <i class="layui-icon layui-icon-heart"></i>
                                                                                                    <span>${result.data[i].likeNum}</span>
                                                                                                </div>
                                                                                                <div class="cmt-item-option-hiddenReplys" onclick="sec(this);">
                                                                                                    <i class="layui-icon layui-icon-reply-fill"></i>
                                                                                                    <span>回复</span>
                                                                                                    <!-- <span class="close-cmt">收起回复</span> -->
                                                                                                </div>
                                                                                            </div>

                                                                                        </div>

                                                                                        <div class="cmt-inputa" style="display: none;">
                                                                                            <div class="cmt-item">
                                                                                                <div class="input-wrap-textarea">
                                                                                                    <label >
                                                                                                        <textarea wrap="soft" class="input" autocomplete="on" placeholder="回复:" style="height: 37.6px;min-height: 37.6px;"></textarea>
                                                                                                    </label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <!--回复按钮-->
                                                                                            <div class="options">
                                                                                                <button class="reply-btn empty" style="background: #00b8bf;cursor: pointer" onclick="innerResponse(this)">回复</button>
                                                                                                <input type="hidden" value="${result.data[i].id}">
                                                                                                <input type="hidden" value="${commentId}">
                                                                                            </div>
                                                                                        </div>
                                                                                    </li>
                                                                                </ul>
                                                                            </div>`)
                                            }
                                            next(lis.join(''), page < Math.ceil(result.data.length / 3)); // 假设总页数为 6
                                        }else {
                                            sg.innerHTML=`<h4>暂无回复</h4>`
                                        }

                                    }
                                })

                            }, 520);
                        }
                    });
                });
            }
            is.parentElement.previousElementSibling.children[0].children[0].children[0].value=''
        }
    })

}


function problemLikebtn(is){
    let problemLike = is.children[0]
    let clickId = is.children[1].value
    let problemLikeNum = parseInt(is.children[2].innerText)
    console.log(problemLikeNum)
    if (problemLike.className==='layui-icon layui-icon-heart'){
        $.ajax({
            headers:{
                "id":localStorage.getItem("id"),
                "token":localStorage.getItem("token")
            },
            type:"post",
            url:"/dev/problem/addLikeNum",
            data:{
                "jsId":localStorage.getItem("id"),
                "clickId":clickId
            },
            success:function (result){
                console.log(result)
                if (result.code==200){
                    problemLike.className='layui-icon layui-icon-heart-fill'
                    problemLikeNum+=1
                    is.children[2].innerText=problemLikeNum
                }
            }
        })
    }else{
        $.ajax({
            headers:{
                "id":localStorage.getItem("id"),
                "token":localStorage.getItem("token")
            },
            type:"post",
            url:"/dev/problem/delLikeNum",
            data:{
                "jsId":localStorage.getItem("id"),
                "clickId":clickId
            },
            success:function (result){
                console.log(result)
                if (result.code==200){
                    problemLike.className='layui-icon layui-icon-heart'
                    problemLikeNum-=1
                    is.children[2].innerText=problemLikeNum
                }
            }
        })
    }

}

</script>
</body>
</html>